home *** CD-ROM | disk | FTP | other *** search
- ;
- ; Tables for decoding interupt functions
- ; Configuration is: subfunction number,text,flag
-
- ; flag is: 0 for all entries but the last
- ; flag is: 80h for the last entry
- ;
- ; Subfunctions updated 01/21/87 by Arny Krueger
- ; to include known undocumented functions
-
- int13_functab label byte
- db 0,"Reset Disk",0
- db 1,"Read Status",0
- db 2,"Read to ES:BX",0
- db 3,"Write from ES:BX",0
- db 4,"Verify",0
- db 5,"Format Track per ES:BX",0
- db 6,"Format & Set Bad Sects",0
- db 7,"Format Drive from Track",0
- db 8,"Get Drive Params",0
- db 9,"Init Drive Params",0
- db 10,"Read Long",0
- db 11,"Write Long",0
- db 12,"Seek",0
- db 13,"Alt Disk Reset",0
- db 14,"Read Sect Buf",0
- db 15,"Write Sect Buf",0
- db 16,"Test Drive Ready",0
- db 17,"Recalibrate",0
- db 18,"Ram Diagnostic",0
- db 19,"Drive Diagnostic",0
- db 20,"Internal Diagnostic",0
- db 21,"Get Disk Type",0
- db 22,"Change Status",0
- db 23,"Set Disk Type",080h
-
- int21_functab label byte
- db 0,"Terminate program",0
- db 1,"Console input w/echo to AL",0
- db 2,"Display Output of DL",0
- db 3,"AUX input to AL",0
- db 4,"AUX output from DL",0
- db 5,"Printer output from DL",0
- db 6,"Input to AL (DL=0FFh) or Display DL",0
- db 7,"Raw keyboard input w/o echo to AL",0
- db 8,"Console input w/o echo to AL",0
- db 9,"Print string at DS:DX till '$'",0
- db 0ah,"Buffered console input to DS:DX",0
- db 0bh,"Set AL=0FFh if input ready, else AL=0",0
- db 0ch,"Clear buf and do function in AL",0
- db 0dh,"Reset disk",0
- db 0eh,"Select drive per DL (0=A)",0
- db 0fh,"Open file, FCB at DS:DX",0
- db 10h,"Close file, FCB at DS:DX",0
- db 11h,"Search for first per pattern FCB at DS:DX",0
- db 12h,"Search for next per pattern FCB at DS:DX",0
- db 13h,"Delete file per FCB at DS:DX",0
- db 14h,"Read sequential, FCB at DS:DX",0
- db 15h,"Write sequential, FCB at DS:DX",0
- db 16h,"Create file, FCB at DS:DX",0
- db 17h,"Rename file, special FCB at DS:DX",0
- db 19h,"Return current drive in AL (0=A)",0
- db 1ah,"Set DTA to DS:DX",0
- db 1bh,"Get FAT info for default drive",0
- db 1ch,"Get FAT info for drive DL (0=default)",0
- db 1dh,"Undocumented 1dh",0
- db 1eh,"Undocumented 1eh",0
- db 1fh,"Undocumented - get drive parameter block at DS:BX",0
- db 20h,"Undocumented 20h",0
- db 21h,"Random Read, FCB at DS:DX",0
- db 22h,"Random Write, FCB at DS:DX",0
- db 23h,"Set file size per FCB pattern at DS:DX",0
- db 24h,"Set random rec field in FCB at DS:DX",0
- db 25h,"Set Interrupt <AL> vector to DS:DX",0
- db 26h,"Create new segment at <DX>:0000",0
- db 27h,"Random Read of <CX> records, FCB at DS:DX",0
- db 28h,"Random Write of <CX> records, FCB at DS:DX",0
- db 29h,"Parse filename at DS:SI into FCB at ES:DI",0
- db 2ah,"Get year to CX, month to DH, day to DL",0
- db 2bh,"Set year to CX, month to DH, day to DL",0
- db 2ch,"Get CH=hours CL=mins DH=secs DL=tenths",0
- db 2dh,"Set hours=CH mins=CL secs=DH tenths=DL",0
- db 2eh,"IFF DL=0 then set VERIFY per AL",0
- db 2fh,"Get DTA to ES:BX",0
- db 30h,"Get DOS version to AL (major), AH (minor)",0
- db 31h,"Term/stay resident, DX=# para's AL=exit code",0
- db 32h,"Undocumented - get drive parameter block at DS:BX",0
- db 33h,"Request (AL=0) or set (AL=1,DL=value) BREAK value",0
- db 34h,"Undocumented Set ES:BX to DOS 'in-use' flag",0
- db 35h,"Set ES:BX to vector for INT # <AL>",0
- db 36h,"Get disk space for drive DL (0=default)",0
- db 37h,"Undocumented Get/Set DOS Switch Char DL returns flag",0
- db 38h,"Return country info to DS:DX",0
- db 39h,"Create directory per ASCIIZ at DS:DX",0
- db 3ah,"Remove directory per ASCIIZ at DS:DX",0
- db 3bh,"Change directory to ASCIIZ at DS:DX",0
- db 3ch,"Create file per ASCIIZ at DS:DX, attrib <CX>",0
- db 3dh,"Open file per ASCIIZ at DS:DX, access <AL>",0
- db 3eh,"Close file handle <BX>",0
- db 3fh,"Read <CX> bytes from file handle <BX> to DS:DX",0
- db 40h,"Write <CX> bytes from DS:DX to file handle <BX>",0
- db 41h,"Delete file per ASCIIZ at DS:DX",0
- db 42h,"LSEEK file handle <BX> <CX:DX> bytes, method <AL>",0
- db 43h,"Set (AL=1, CX=value) or get (AL=0) attrib for ASCIIZ at DS:DX",0
- db 44h,"IOCTL for file handle <BX>, func <AL>",0
- db 45h,"DUP file handle <BX> into <AX>",0
- db 46h,"Force DUP of handle <BX> into handle <CX>",0
- db 47h,"Get cur dir for drive <DL> (0=default) to DS:SI",0
- db 48h,"Allocate <BX> paragraphs, address to AX",0
- db 49h,"Free block starting at <ES>",0
- db 4ah,"Modify segment <ES> to be <BX> para's in size",0
- db 4bh,"EXEC file at ASCIIZ DS:DX, func <AL>",0
- db 4ch,"Terminate with exit code <AL>",0
- db 4dh,"Get EXIT return code to AX",0
- db 4eh,"Find first per ASCIIZ at DS:DX and attrib <CX>",0
- db 4fh,"Find next per current DTA",0
- db 50h,"Undocumented Set PSP from BX",0
- db 51h,"Undocumented Get PSP to BX",0
- db 52h,"Undocumented Get Memory Block root+2 in ES:BX",0
- db 53h,"Undocumented 53h",0
- db 54h,"Get VERIFY state to AL",0
- db 55h,"Undocumented Make PSP at DX",0
- db 56h,"Rename filename at ASCIIZ DS:DX to ASCIIZ at ES:DI",0
- db 57h,"Get (AL=0) or set (AL=1) date/time for file handle <BX>",0
- db 59h,"Get extended error code",0
- db 5ah,"Create temp file per ASCIIZ DS:DX and attrib <CX>",0
- db 5bh,"Create new file per ASCIIZ DS:DX and attrib <CX>",0
- db 5ch,"Lock (AL=0) or unlock (AL=1) file handle <BX>",0
- db 5dh,"Undocumented 5Dh",0
- db 5eh,"Undocumented 5Eh",0
- db 5fh,"Undocumented 5Fh",0
- db 60h,"Undocumented 60h",0
- db 61h,"Undocumented 61h",0
- db 62h,"Get PSP segment address to BX",080h
-
-